package com.autonavi.abs.common.util;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author wwy
 * @version V1.0
 * <p>Description: sha1</p>
 * @date 2020-07-23 14:26
 */
public class Sha1Utils {

    /**
     * sha1
     *
     * @param source
     * @return
     */
    public static String SHA1(String source) {
        String shaHash = DigestUtils.sha1Hex(source.getBytes());
        return shaHash;
    }
}
